package com.kaili.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 主子单表
 * </p>
 *
 * @author xujinghai
 * @since 2018-06-07
 */
@TableName("hs_ewb_sub")
public class HsEwbSub implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主单
     */
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 子单
     */
    @TableId("sub_ewb")
    private String subEwb;
    /**
     * 货物类型
     */
    @TableField("goods_type")
    private Integer goodsType;
    /**
     * 体积
     */
    private BigDecimal vol;
    /**
     * 重量
     */
    private BigDecimal weight;
    /**
     * 体积重
     */
    @TableField("calc_weight")
    private BigDecimal calcWeight;


    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public String getSubEwb() {
        return subEwb;
    }

    public void setSubEwb(String subEwb) {
        this.subEwb = subEwb;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public BigDecimal getVol() {
        return vol;
    }

    public void setVol(BigDecimal vol) {
        this.vol = vol;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getCalcWeight() {
        return calcWeight;
    }

    public void setCalcWeight(BigDecimal calcWeight) {
        this.calcWeight = calcWeight;
    }

    @Override
    public String toString() {
        return "HsEwbSub{" +
        ", ewbNo=" + ewbNo +
        ", subEwb=" + subEwb +
        ", goodsType=" + goodsType +
        ", vol=" + vol +
        ", weight=" + weight +
        ", calcWeight=" + calcWeight +
        "}";
    }
}
